﻿package com.csd.excelreader;

import java.util.*;

public class DateCellConfigInfo extends CellConfigInfo 
{
	@SuppressWarnings("deprecation")
	public DateCellConfigInfo ()
	{
		this.setCellType ( CELL_TYPE_DATE );
		this.upperLimit = new Date ( 2099, 12, 31 );
		this.lowerLimit = new Date ( 1900, 1, 1 );		
	}
	
	/*
	 * 时间上界，最晚到何时
	 */
	private Date upperLimit;
	
	/*
	 * 时间下界，最早到何时
	 */
	private Date lowerLimit;

	/**
	 * @return the upperLimit
	 */
	public Date getUpperLimit() {
		return upperLimit;
	}

	/**
	 * @param upperLimit the upperLimit to set
	 */
	public void setUpperLimit(Date upperLimit) {
		this.upperLimit = upperLimit;
	}

	/**
	 * @return the lowerLimit
	 */
	public Date getLowerLimit() {
		return lowerLimit;
	}

	/**
	 * @param lowerLimit the lowerLimit to set
	 */
	public void setLowerLimit(Date lowerLimit) {
		this.lowerLimit = lowerLimit;
	}	
}
